import { VoucherItem, VoucherSearchButton } from '../../component';
import { Space, Pagination, Card } from 'antd';
export default () => {
  return (
    <Space style={{ width: '100%' }} direction="vertical">
      <Card>
        <VoucherSearchButton></VoucherSearchButton>
      </Card>
      <Card>
        <Space style={{ width: '100%' }} direction="vertical">
          <Pagination
            size="small"
            total={50}
            style={{ float: 'right' }}
            showSizeChanger
            showQuickJumper
            showTotal={total => {
              return `共 ${total} 条`;
            }}
          />
          <VoucherItem></VoucherItem>
          <VoucherItem></VoucherItem>
        </Space>
      </Card>
    </Space>
  );
};
